#ifndef REGISTER_H
#define REGISTER_H
#include"database.h"
#include <QDialog>
#include <QMessageBox>
#include<QSqlDatabase>
#include<QSqlQuery>
#include<string>
using namespace std;
namespace Ui {
class Register;
}

class Register : public QDialog
{
    Q_OBJECT

public:
    explicit Register(QWidget *parent = nullptr);
    ~Register();
    QSqlDatabase   db;
    QSqlQuery   query;

private slots:
    void on_pushButton_clicked();

    //void on_pushButton_2_clicked();

    void on_btn_back_clicked();

private:
    Ui::Register *ui;

};

#endif // REGISTER_H
